package com.ruoyi.web.controller.app;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.wb.domain.WbPlanContent;
import com.ruoyi.wb.service.IWbPlanContentService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


/**
 * 维保计划内容Controller
 *
 * @author ruoyi
 * @date 2024-10-14
 */
@Api(tags="app端-维保计划内容列表信息管理")
@RestController
@RequestMapping("/wb/app/wbPlanContent")
public class WbAppPlanContentController extends BaseController {

    @Autowired
    private IWbPlanContentService wbPlanContentService;

    @ApiOperation("合格或不合格")
    @PostMapping("/qualifiedOrDisqualification")
    public AjaxResult qualifiedOrDisqualification(@RequestBody WbPlanContent wbPlanContent) {
        return toAjax(wbPlanContentService.qualifiedOrDisqualification(wbPlanContent));
    }

}